<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="dao.*" %>
    <jsp:include page="section.jsp"></jsp:include>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
.div1{
margin-left:10%;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改部门信息</title>
</head>
<body>
	<%Section section=(Section)session.getAttribute("section"); %>
	<div class="div1">
	<form action="UpdateSection" method="post">
	<table>
		<tr>
			<td>编号</td>
			<td><input type="text" name="id" value="<%=section.getId()%>" readonly="readonly"></td>
		</tr>
		<tr>
			<td>名称</td>
			<td><input type="text" name="name" value="<%=section.getName()%>"></td>
		</tr>
		<tr>
			<td>类型</td>
			<td><input type="text" name="type" value="<%=section.getType()%>"></td>
		</tr>
		<tr>
			<td>电话</td>
			<td><input type="text" name="phone" value="<%=section.getPhone()%>"></td>
		</tr>
		<tr>
			<td>传真</td>
			<td><input type="text" name="fax" value="<%=section.getFax()%>"></td>
		</tr>
		<tr>
			<td>上级部门</td>
			<td><input type="text" name="tsection" value="<%=section.getTsection()%>"></td>
		</tr>
		<tr>
			<td>成立时间</td>
			<td><input type="text" name="ftime" value="<%=section.getFtime()%>"></td>
		</tr>
		<tr>
			<td>描述</td>
			<td><input type="text" name="des" value="<%=section.getDes()%>"></td>
		</tr>
		<tr><td><input type="submit" value="提交"></td></tr>
	</table>
	</form>
	</div>
</body>
</html>